package cn.edu.sjtu.process_management.model;

import lombok.Builder;
import lombok.Data;
import lombok.experimental.Tolerate;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

/**
 * @author loumoon
 * @date 2019-11-01 11:40
 */

@Data
@Builder
@Document("process")
public class Process {
    private String id;
    private String name;
    private String bpmn;
    private String owner;
    private boolean deprecated;
    private Date created;

    @Tolerate
    Process() {
    }
}
